<template>
  <div>
     App
     <Child/>
  </div>
</template>

<script>
import Child from './components/Child.vue'
export default {
  name: '',
  mounted(){
    //绑定自定义事件
    this.$bus.$on('sendMoney',function(params){
       console.log('App',params);
    })
  },
  components:{
    Child
  }
}
</script>

<style scoped>

</style>
